package com.bflow.dao.po;


import com.bflow.commons.po.BasePo;

import java.io.Serializable;

/**
 * 功能：BflowDefineProcess 流程定义-PO(persistant object) 持久对象
 * 作者：haowen
 * 日期：2018-12-13
 */
public class BflowDefineProcessPo extends BasePo implements Serializable {

	private static final long serialVersionUID = -6041760450874905173L;
	
    /**
     * 数据库字段：ID_ 流程定义ID
	 */
	private String id;
    /**
     * 数据库字段：KEY_ 流程KEY
	 */
	private String key;
    /**
     * 数据库字段：NAME_ 流程名称
	 */
	private String name;
    /**
     * 数据库字段：DESC_ 流程描述
	 */
	private String desc;

	/**
	 * 数据库字段 TYPE_ 类型: def=默认, set=自定义
	 */
	private String type;

    /**
     * 数据库字段：ACT_SET 活动集合
	 */
	private String actSet;

	/**
	 * 数据库字段：ACT_ASSIGNEE_SET 活动参与者集合
	 */
	private String actAssigneeSet;

	/**
	 * 数据库字段：COPY_TO_INTERVAL_TYPE 抄送间隔类型: start=开始、end=结束、endPass=通过结束、endNoPass=不通过结束、ever=永远
	 */
	private String copyToIntervalType;
	/**
	 * 数据库字段：COPY_TO 抄送人  格式: _id_,_id_
	 */
	private String copyTo;

    /**
     * 数据库字段：START_ACT_ID 开始活动
	 */
	private String startActId;
    /**
     * 数据库字段：STATUS 状态：0-不可用；1-可用；
	 */
	private String status;
    /**
     * 数据库字段：CREATE_TIME 创建时间
	 */
	private java.util.Date createTime;
    /**
     * 数据库字段：UPDATE_TIME 更新时间
	 */
	private java.util.Date updateTime;

	/** 版本号 */
	private Integer version;

	/**
	 * 流程业务数据
	 */
	private BflowRunInstancePo instance;

	public BflowDefineProcessPo(){
	}

	public BflowDefineProcessPo( String id ){
		this.id = id;
	}

	public String getId() {
		return this.id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getKey() {
		return this.key;
	}
	public void setKey(String key) {
		this.key = key;
	}

	public String getName() {
		return this.name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return this.desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getType() {
		return this.type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getActSet() {
		return this.actSet;
	}
	public void setActSet(String actSet) {
		this.actSet = actSet;
	}

	public String getActAssigneeSet() {
		return this.actAssigneeSet;
	}
	public void setActAssigneeSet(String actAssigneeSet) {
		this.actAssigneeSet = actAssigneeSet;
	}

	public String getCopyToIntervalType() {
		return this.copyToIntervalType;
	}
	public void setCopyToIntervalType(String copyToIntervalType) {
		this.copyToIntervalType = copyToIntervalType;
	}

	public String getCopyTo() {
		return this.copyTo;
	}
	public void setCopyTo(String copyTo) {
		this.copyTo = copyTo;
	}

	public String getStartActId() {
		return this.startActId;
	}
	public void setStartActId(String startActId) {
		this.startActId = startActId;
	}

	public String getStatus() {
		return this.status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getUpdateTime() {
		return this.updateTime;
	}
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getVersion() {
		return this.version;
	}
	public void setVersion(Integer version) {
		this.version = version;
	}

	public BflowRunInstancePo getInstance() {
		return instance;
	}

	public void setInstance(BflowRunInstancePo instance) {
		this.instance = instance;
	}
}
